home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD (UK) 1999 January
/
PC Plus Super CD No55a (PCP-147A-1-99) (Disc 1) (1998).iso
/
full
/
cbuilder
/
DATA.Z
/
LIMITS.CPP
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1997-02-13
|
298 b
|
17 lines
#include <limits>
using namespace std;
int main()
{
numeric_limits<float> float_info;
if (float_info.is_specialized && float_info.has_infinity)
{
//
// Get value of infinity.
//
float finfinity=float_info.infinity();
}
return 0;
}